﻿using System;
using System.Collections.Generic;
using System.Text;
using LogisticsDAL;
using Model.Models;

namespace LogisticsBLL
{
    public class LogBLL
    {
        private readonly IOrdersManage dal;

        public LogBLL(IOrdersManage dal)
        {
            this.dal = dal;
        }
        public List<Order> GetAll()
        {
            return dal.GetAll();
        }
        public object GetOrders(string Oid, string cname, string card, int Otype, int Status, string receivetel, DateTime createdate, DateTime comitedate)
        {
            return dal.GetOrders(Oid, cname, card, Otype, Status, receivetel, createdate, comitedate);
        }
    }
}
